package oo.day03;

public class J extends Tetromino{

	//构造每个格子数组的成员指向格子类，并设定每个格子坐标
	J(int row,int col){
		cells[0] = new Cell(row,col);
		cells[1] = new Cell(row,col+1);
		cells[2] = new Cell(row,col+2);
		cells[3] = new Cell(row+1,col+2);
	}
	
	//重载无參构造函数
	J(){
		this(0,0);
	}
	

	
	
}
